<?php
use Illuminate\Database\Eloquent\SoftDeletingTrait;

class Topup extends Eloquent {
	
	use SoftDeletingTrait;
	
	protected $dates = ['deleted_at'];
	
	protected $table = 'topup';
	 
	public function topupInformation() {
		return $this->hasMany('TopupInformation', 'TOPUP_id', 'id');
	}
	 
	public function orderInformation() {
		return $this->belongsTo('Order', 'ORDER_id', 'id');
	}
	 
}